#ifndef __BALLADE_SSL_OUTPUT_STREAM_H__
#define __BALLADE_SSL_OUTPUT_STREAM_H__

#include <openssl/ssl.h>

#include <ballade/network/config.h>
#include <ballade/network/output_stream.h>

namespace Ballade
{
	namespace Network
	{
		class NETWORK_API SSLOutputStream : public OutputStream
		{
		public:
			SSLOutputStream(SSL* ssl);
			const int write(char* buf, const int len) const ;
			
		private:
			SSL* _ssl;
		};
	}
}

#endif